let arr = [
    {
        img: 'https://yanxuan-item.nosdn.127.net/591abb2530341bcbe02d8af0d4e3659c.png',
        name: '加厚云弹可外穿休闲拖鞋',
        details: '满满舒适感，清爽随性',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/a67e6f85a4fc128ab3a2efad5279ca15.png',
        name: '不烫手的茶杯双层隔热茶水杯绿茶杯',
        details: '360°赏茶汤，100℃不烫手',
        goodprice: '¥49.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/21d7bf14b1ff60f94b0a882a2d3e2ba2.png',
        name: '随时随地喝热水英国摩飞便携式智能烧水壶',
        details: '专为旅行设计，随时随地喝热水',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/e19d7e1ffa9bd3adf4172365631dd559.png',
        name: '打造一只专属旅行箱，好运语录行李箱贴纸',
        details: '贴出你的个性旅行箱',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/1fc52697692d2ec4f6b6175e3de2a605.jpg',
        name: '吸尘除菌除味黑科技英国摩飞无线吸尘器',
        details: '强劲吸尘，臭氧杀菌除味，立体空间净化',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/c9f3dc9792ce78a215d9ea9c14f9aad8.jpg',
        name: '国家非遗木叶盏，经典木叶茶具套装',
        details: '千载传承，植物与陶瓷的巧妙结合',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/f6536d0257fef5f006761e605e0fd369.png',
        name: '网易云音乐联名款W800X头戴式蓝牙耳机',
        details: '【超长续航强劲重低音】网易云音乐&漫步者独家定制；超长播放约55小时；高通蓝牙芯片V5.1，信号强劲；AptX无损解码，高清音质体验；澎湃低频，质感人声',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/448ffecb0451b74cb04c91a3c5ce25c1.png',
        name: '无需等待快速醒酒器',
        details: '风靡欧美，开启新的醒酒方式',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/8c497ef234302a92d072804bc08a38db.jpg',
        name: '为挚爱甄选大溪地黑珍珠钻石项链10-11mm',
        details: '守护生命中挚爱的她',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/0423528ba155879e94648ee47eb06ab6.png',
        name: '轻松快泡水滴壶日式玻璃茶壶套组花茶壶',
        details: '连网壶盖设计，轻松过滤',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/27afb774345de98c87dddf89042ab33a.jpg',
        name: '鱼香醇厚，韩国风味鱼饼串',
        details: '快手下饭菜，韩剧里的味道',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/6341041a76886655228ea3afeee5553d.png',
        name: '一面百洁布一面多孔海绵，三层复合洗碗刷',
        details: '起泡快，两面刷',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/293895e7d2e8966f35cc1a3a841506d1.jpg',
        name: '新升级移动的咖啡馆咖啡手冲礼盒七件套',
        details: '全套手冲咖啡礼盒，随时随地乐享香醇',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/a7b3bf471e082e502e553995b7399283.png',
        name: '切尔西女式短款雨靴',
        details: '保护双脚，四季百搭',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/f3636b063dad944aa527e4652392a553.png',
        name: '意外设计小时光便携钢笔',
        details: '精致与优雅随身藏4.16-4.19号停止发货',
        goodprice: '¥65.00'
    },

    {
        img: 'https://yanxuan-item.nosdn.127.net/f8c37ffa41ab1eb84bff499e1f6acfc7.jpg',
        name: '梨皮朱泥三绝清代小品壶经典款紫砂壶',
        details: '风靡南国的朱泥小壶，茶座上必备的实用“奢侈品”',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/d062f469d3285157b9052bfd37d9fd57.jpg',
        name: '澳大利亚脱脂高钙奶粉30克*16条',
        details: '澳洲进口优质奶粉，营养加倍',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/7d934718b87861b4065c4d19cbe3ac3e.png',
        name: '20寸复古纯PC铝框拉杆箱',
        details: '复古朋克，德国PC坚固抗冲',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/7f4d7114f16d2996b31382dbf018b0a0.png',
        name: '清爽夏日，双层纱宝宝连体衣/居家服套装',
        details: '夏日也凉爽，A类无荧光，59-110cm',
        goodprice: '¥65.00'
    },
    {
        img: 'https://yanxuan-item.nosdn.127.net/26c3b357241bb06a6616f7b20d01d4af.png',
        name: '看得见的吸水力速干防潮天然硅藻土地垫',
        details: '防滑防霉，能喝水的天然地垫',
        goodprice: '¥65.00'
    }
]
let str = arr.reduce(function (prev, item) {
    let { img, name, details, goodprice } = item
    return prev + ` <div class="goodssum">
        <img src="${img}" alt="">
        <p class="goods-name"><a href='../html/Top.html'>${name}</a></p>
        <p class="goods-details">${details}</p>
        <p class="goods-price">${goodprice}</p>
    </div>`
}, '')
document.querySelector('.goods-exhibit').innerHTML = str